class MigrateDocumentUserGroupAssociation < ActiveRecord::Migration
  class << self
    def up
      create_lookup_table(:documents,:user_groups)
      create_lookup_table(:document_categories,:user_groups)
    end

    def down
      drop_lookup_table(:documents,:user_groups)
      drop_lookup_table(:document_categories,:user_groups)
    end
  end #end class block
end
